package jp.ac.aiit.spg.dao;

import java.util.List;
import jp.ac.aiit.spg.entity.*;

public interface SpgMemberDao {

	// Basic Operations 
	SpgMember find(Integer id);
	SpgMember getReference(Integer id);
	void persist(SpgMember sm);
	void remove(SpgMember sm);
	SpgMember merge(SpgMember sm);
	void refresh(SpgMember sm);
	void readLock(SpgMember sm);
	void writeLock(SpgMember sm);
	
	// Additional Operations
	List<SpgMember> findAll();
	List<SpgMember> findAll(String orderBy);
	
	
}
